package com.pandora.credit.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.sql.Timestamp;

/**
 * @author developer
 */
public class Terminal {
  private long id;
  @JsonProperty("unique_no")
  private String uniqueNo;
  @JsonProperty("user_id")
  private long userId;
  @JsonProperty("push_token")
  private String pushToken;
  @JsonProperty("device_model")
  private String deviceModel;
  @JsonProperty("os_version")
  private String osVersion;
  @JsonProperty("factory_os_version")
  private String factoryOsVersion;
  @JsonProperty("bundle_version")
  private String bundleVersion;
  private int status;
  @JsonProperty("create_time")
  private Timestamp createTime;
  @JsonProperty("update_time")
  private Timestamp updateTime;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getUniqueNo() {
    return uniqueNo;
  }

  public void setUniqueNo(String uniqueNo) {
    this.uniqueNo = uniqueNo;
  }

  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }

  public String getPushToken() {
    return pushToken;
  }

  public void setPushToken(String pushToken) {
    this.pushToken = pushToken;
  }

  public String getDeviceModel() {
    return deviceModel;
  }

  public void setDeviceModel(String deviceModel) {
    this.deviceModel = deviceModel;
  }

  public String getOsVersion() {
    return osVersion;
  }

  public void setOsVersion(String osVersion) {
    this.osVersion = osVersion;
  }

  public String getFactoryOsVersion() {
    return factoryOsVersion;
  }

  public void setFactoryOsVersion(String factoryOsVersion) {
    this.factoryOsVersion = factoryOsVersion;
  }

  public String getBundleVersion() {
    return bundleVersion;
  }

  public void setBundleVersion(String bundleVersion) {
    this.bundleVersion = bundleVersion;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }
}
